package com.fourth_groups.shopping121store.ui.home.model;

/**
 * ----------Dragon be here!----------/
 * 　　　┏┓　　　┏┓
 * 　　┏┛┻━━━┛┻┓
 * 　　┃　　　　　　　┃
 * 　　┃　　　━　　　┃  创建人:李培雄
 * 　　┃　┳┛　┗┳　┃  时间:2016/10/14 18:34
 * 　　┃　　　　　　　┃  备注:
 * 　　┃　　　┻　　　┃
 * 　　┃　　　　　　　┃
 * 　　┗━┓　　　┏━┛
 * 　　　　┃　　　┃神兽保佑
 * 　　　　┃　　　┃代码无BUG！
 * 　　　　┃　　　┗━━━┓
 * 　　　　┃　　　　　　　┣┓
 * 　　　　┃　　　　　　　┏┛
 * 　　　　┗┓┓┏━┳┓┏┛
 * 　　　　　┃┫┫　┃┫┫
 * 　　　　　┗┻┛　┗┻┛
 * ━━━━━━神兽出没━━━━━━by:coder-pig
 */
public class HomeXQBean {

    /**
     * id : 1350
     * type : 3
     * title : 【碳烤椰肉】南国香脆椰子片60gx5盒
     * title_h5 : 【碳烤椰肉】南国香脆椰子片60gx5盒
     * url : http://mm.121dian.com/goods/46217/h_jr65x7?trace_data=%7B%22card_id%22%3A1350%2C%22goods_id%22%3A%2246217%22%2C%22position%22%3A%226.2.5%22%7D
     * content :
     * image : http://image.121dian.com/site/121/6e35b1eb6f047582e297a50f07d1223e.jpg@!w750
     * corner_ico : http://image.121dian.com/site/121/a36b2559516f4dfafb9d9de23379dbc1.png
     * corner : {"background":"http://image.121dian.com/site//c93722ad1c7ce7128393f6bc84a9499f.png_100","text":"新 品"}
     * config_count : 12
     * config : {"width":1160,"height":662,"share_count":"971","goods_id":"46217","is_lock":"0","lock_started_at":"","lock_expired_at":"","timing":"剩余：3天14小时","price":"29.90","market_price":"￥59.80","rebate":"￥1.50"}
     * trace : {"data":{"card_id":1350,"goods_id":"46217","position":"6.2.5"},"data_str":"{\"card_id\":1350,\"goods_id\":\"46217\",\"position\":\"6.2.5\"}"}
     */

    private int id;
    private int type;
    private String title;
    private String title_h5;
    private String url;
    private String content;
    private String image;
    private String corner_ico;
    /**
     * background : http://image.121dian.com/site//c93722ad1c7ce7128393f6bc84a9499f.png_100
     * text : 新 品
     */

    private CornerBean corner;
    private int config_count;
    /**
     * width : 1160
     * height : 662
     * share_count : 971
     * goods_id : 46217
     * is_lock : 0
     * lock_started_at :
     * lock_expired_at :
     * timing : 剩余：3天14小时
     * price : 29.90
     * market_price : ￥59.80
     * rebate : ￥1.50
     */

    private ConfigBean config;
    /**
     * data : {"card_id":1350,"goods_id":"46217","position":"6.2.5"}
     * data_str : {"card_id":1350,"goods_id":"46217","position":"6.2.5"}
     */

    private TraceBean trace;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle_h5() {
        return title_h5;
    }

    public void setTitle_h5(String title_h5) {
        this.title_h5 = title_h5;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getCorner_ico() {
        return corner_ico;
    }

    public void setCorner_ico(String corner_ico) {
        this.corner_ico = corner_ico;
    }

    public CornerBean getCorner() {
        return corner;
    }

    public void setCorner(CornerBean corner) {
        this.corner = corner;
    }

    public int getConfig_count() {
        return config_count;
    }

    public void setConfig_count(int config_count) {
        this.config_count = config_count;
    }

    public ConfigBean getConfig() {
        return config;
    }

    public void setConfig(ConfigBean config) {
        this.config = config;
    }

    public TraceBean getTrace() {
        return trace;
    }

    public void setTrace(TraceBean trace) {
        this.trace = trace;
    }

    public static class CornerBean {
        private String background;
        private String text;

        public String getBackground() {
            return background;
        }

        public void setBackground(String background) {
            this.background = background;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }

    public static class ConfigBean {
        private int width;
        private int height;
        private String share_count;
        private String goods_id;
        private String is_lock;
        private String lock_started_at;
        private String lock_expired_at;
        private String timing;
        private String price;
        private String market_price;
        private String rebate;

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public String getShare_count() {
            return share_count;
        }

        public void setShare_count(String share_count) {
            this.share_count = share_count;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getIs_lock() {
            return is_lock;
        }

        public void setIs_lock(String is_lock) {
            this.is_lock = is_lock;
        }

        public String getLock_started_at() {
            return lock_started_at;
        }

        public void setLock_started_at(String lock_started_at) {
            this.lock_started_at = lock_started_at;
        }

        public String getLock_expired_at() {
            return lock_expired_at;
        }

        public void setLock_expired_at(String lock_expired_at) {
            this.lock_expired_at = lock_expired_at;
        }

        public String getTiming() {
            return timing;
        }

        public void setTiming(String timing) {
            this.timing = timing;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getRebate() {
            return rebate;
        }

        public void setRebate(String rebate) {
            this.rebate = rebate;
        }
    }

    public static class TraceBean {
        /**
         * card_id : 1350
         * goods_id : 46217
         * position : 6.2.5
         */

        private DataBean data;
        private String data_str;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public String getData_str() {
            return data_str;
        }

        public void setData_str(String data_str) {
            this.data_str = data_str;
        }

        public static class DataBean {
            private int card_id;
            private String goods_id;
            private String position;

            public int getCard_id() {
                return card_id;
            }

            public void setCard_id(int card_id) {
                this.card_id = card_id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }
        }
    }
}
